package com.wingsoft.homeFlow.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author Wingsoft
 * @description 针对表【HOME_FLOW_TASK_VAR(工作流任务参数)】的数据库映射
 */
@Data
@TableName(value = "home_flow_task_var")
public class HomeFlowTaskVar {

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("任务编码")
    private String taskCode;

    @ApiModelProperty("步骤KEY")
    private String stepCode;

    @ApiModelProperty("变量编码")
    private String varCode;

    @ApiModelProperty("变量名称")
    private String varName;

    @ApiModelProperty("变量取值路径")
    private String varPath;

    @ApiModelProperty("数据类型：1-单个；2-对象；3-集合；4-日期")
    private Integer dataType;

    @ApiModelProperty("默认值")
    private String defaultValue;

    @ApiModelProperty("是否全局：1-是 0-否")
    private Integer globalFlag;

    @ApiModelProperty("是否工作流参数：1-是 0-否")
    private Integer flowFlag;

    @ApiModelProperty("是否手动添加：1-是 0-否")
    private Integer manualFlag;

    @ApiModelProperty("参数顺序")
    private Integer varIndex;

    @ApiModelProperty("是否启用：1-是 0-否")
    private Integer isUsed;

    @ApiModelProperty("创建用户ID")
    private Long createUserId;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改用户ID")
    private Long updateUserId;

    @ApiModelProperty("修改时间")
    private Date updateTime;


}